// import React,{useEffect} from 'react'
import React from 'react'
import {render} from 'react-dom'
// import Button from '@material-ui/core/Button';
// index.js中 样式初始化
import 'reset-css';
// 做屏幕适配
import 'lib-flexible'
import './assets/styles/common.less'
// import axios from 'axios'
// import {regApi} from './Api'
import Router from './router'
import {Provider} from 'react-redux'
import store from './store'
// function App() {
//     useEffect(() => {
//         regApi({ phone:'13312345688', password:'123456' }).then(res=>{
//             console.log(res);
//         })
//     }, [])
//         // axios.post('/api/1024/register',{phone:'13312345677',password:'123456'})}, [])
//     return () => {
//         <div></div>
//     }
// }
render((
//    <App></App>
<Provider store={store}>
  <Router></Router>  
</Provider>  
),document.getElementById('root'))